-- GENERATED SPELL FOR [Venture Co. Enforcer] --


function spell0_3283(pUnit, Event) --@Battle Shout,Self--
pUnit:FullCastSpellOnTarget(9128,pUnit)
pUnit:RegisterEvent('Sorts_3283', 597, 1)
end

function spell1_3283(pUnit, Event) --@Disarm,n/a--
pUnit:FullCastSpellOnTarget(6713,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_3283', 5275, 1)
end

function Sorts_3283(pUnit, Event)
local choix_sorts_3283 = math.random(0, 1)
if choix_sorts_3283 == 0 then
pUnit:RegisterEvent('spell0_3283', 1, 1)
end
if choix_sorts_3283 == 1 then
pUnit:RegisterEvent('spell1_3283', 1, 1)
end
end

function mob3283_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_3283', math.random(1500, 3000), 1)
end

function mob3283_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3283_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3283_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(3283, 1, 'mob3283_Action')
RegisterUnitEvent(3283, 2, 'mob3283_Leave')
RegisterUnitEvent(3283, 3, 'mob3283_Kill')
RegisterUnitEvent(3283, 4, 'mob3283_Die')
